package com.css.dzj.dzjdzqs.modules.datafromzfjg.entity;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Objects;
//联合监管任务书表
@Entity
@Table(name = "JG_LHJG_RWS", schema = "DZJJH", catalog = "")
public class JgLhjgRwsEntity {
    private String taskno;
    private String taskname;
    private String reportregionNo;
    private String reportregionName;
    private String initiateunitNo;
    private String initiateunitName;
    private String uniondeptNo;
    private String uniondeptName;
    private String superviseobjectNo;
    private String inspectcontent;
    private String inspectclaim;
    private Date taskStarttime;
    private Date taskEndtime;
    private String remark;
    private String taskid;

    @Basic
    @Column(name = "taskno")
    public String getTaskno() {
        return taskno;
    }

    public void setTaskno(String taskno) {
        this.taskno = taskno;
    }

    @Basic
    @Column(name = "taskname")
    public String getTaskname() {
        return taskname;
    }

    public void setTaskname(String taskname) {
        this.taskname = taskname;
    }

    @Basic
    @Column(name = "reportregion_no")
    public String getReportregionNo() {
        return reportregionNo;
    }

    public void setReportregionNo(String reportregionNo) {
        this.reportregionNo = reportregionNo;
    }

    @Basic
    @Column(name = "reportregion_name")
    public String getReportregionName() {
        return reportregionName;
    }

    public void setReportregionName(String reportregionName) {
        this.reportregionName = reportregionName;
    }

    @Basic
    @Column(name = "initiateunit_no")
    public String getInitiateunitNo() {
        return initiateunitNo;
    }

    public void setInitiateunitNo(String initiateunitNo) {
        this.initiateunitNo = initiateunitNo;
    }

    @Basic
    @Column(name = "initiateunit_name")
    public String getInitiateunitName() {
        return initiateunitName;
    }

    public void setInitiateunitName(String initiateunitName) {
        this.initiateunitName = initiateunitName;
    }

    @Basic
    @Column(name = "uniondept_no")
    public String getUniondeptNo() {
        return uniondeptNo;
    }

    public void setUniondeptNo(String uniondeptNo) {
        this.uniondeptNo = uniondeptNo;
    }

    @Basic
    @Column(name = "uniondept_name")
    public String getUniondeptName() {
        return uniondeptName;
    }

    public void setUniondeptName(String uniondeptName) {
        this.uniondeptName = uniondeptName;
    }

    @Basic
    @Column(name = "superviseobject_no")
    public String getSuperviseobjectNo() {
        return superviseobjectNo;
    }

    public void setSuperviseobjectNo(String superviseobjectNo) {
        this.superviseobjectNo = superviseobjectNo;
    }

    @Basic
    @Column(name = "inspectcontent")
    public String getInspectcontent() {
        return inspectcontent;
    }

    public void setInspectcontent(String inspectcontent) {
        this.inspectcontent = inspectcontent;
    }

    @Basic
    @Column(name = "inspectclaim")
    public String getInspectclaim() {
        return inspectclaim;
    }

    public void setInspectclaim(String inspectclaim) {
        this.inspectclaim = inspectclaim;
    }

    @Basic
    @Column(name = "task_starttime")
    public Date getTaskStarttime() {
        return taskStarttime;
    }

    public void setTaskStarttime(Date taskStarttime) {
        this.taskStarttime = taskStarttime;
    }

    @Basic
    @Column(name = "task_endtime")
    public Date getTaskEndtime() {
        return taskEndtime;
    }

    public void setTaskEndtime(Date taskEndtime) {
        this.taskEndtime = taskEndtime;
    }

    @Basic
    @Column(name = "remark")
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Id
    @Column(name = "taskid")
    public String getTaskid() {
        return taskid;
    }

    public void setTaskid(String taskid) {
        this.taskid = taskid;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        JgLhjgRwsEntity that = (JgLhjgRwsEntity) o;
        return Objects.equals(taskno, that.taskno) &&
                Objects.equals(taskname, that.taskname) &&
                Objects.equals(reportregionNo, that.reportregionNo) &&
                Objects.equals(reportregionName, that.reportregionName) &&
                Objects.equals(initiateunitNo, that.initiateunitNo) &&
                Objects.equals(initiateunitName, that.initiateunitName) &&
                Objects.equals(uniondeptNo, that.uniondeptNo) &&
                Objects.equals(uniondeptName, that.uniondeptName) &&
                Objects.equals(superviseobjectNo, that.superviseobjectNo) &&
                Objects.equals(inspectcontent, that.inspectcontent) &&
                Objects.equals(inspectclaim, that.inspectclaim) &&
                Objects.equals(taskStarttime, that.taskStarttime) &&
                Objects.equals(taskEndtime, that.taskEndtime) &&
                Objects.equals(remark, that.remark) &&
                Objects.equals(taskid, that.taskid);
    }

    @Override
    public int hashCode() {
        return Objects.hash(taskno, taskname, reportregionNo, reportregionName, initiateunitNo, initiateunitName, uniondeptNo, uniondeptName, superviseobjectNo, inspectcontent, inspectclaim, taskStarttime, taskEndtime, remark, taskid);
    }
}
